package com.eattravel.service.impl;

import com.eattravel.mapper.StoreMapper;
import com.eattravel.pojo.Store;
import com.eattravel.service.HomeHotStoreService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author glong
 * @date 2019/9/21 11:05
 * 描述：
 */
@Service
public class HomeHotStoreServiceImpl implements HomeHotStoreService {
    @Autowired
    private StoreMapper storeMapper;

    @Override
    public List<Store> getHotStore() {
        return storeMapper.selectHotStore();
    }
}
